package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderBale;
import com.jic.order.manage.request.OrderBaleRequest;
import com.jic.order.manage.response.OrderBaleResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 包裹表
 * @author : yinhaijun
 * @email :
 * @since : 2020-01-15 07:06:30
 * @version : v1.0.0
 */
@Mapper
public interface  OrderBaleMapper {

    long insert(OrderBale orderBale);

    long update(OrderBale orderBale);

    OrderBale queryByPrimaryKey(Long id);

    List<OrderBale> query(OrderBale orderBale);

    List<OrderBaleResponse> queryPage(@Param("startIndex") int startIndex, @Param("orderBale") OrderBaleRequest obr);

    long queryPageCount(@Param("orderBale") OrderBaleRequest obr);
}
